package com.stylefeng.guns.modular.system.dao;

import com.baomidou.mybatisplus.plugins.Page;
import com.stylefeng.guns.modular.system.model.Job;
import com.baomidou.mybatisplus.mapper.BaseMapper;
import com.stylefeng.guns.modular.system.model.News;
import org.apache.ibatis.annotations.Param;

import java.util.List;
import java.util.Map;

/**
 * <p>
 * 招聘信息表 Mapper 接口
 * </p>
 *
 * @author huangyuehong123
 * @since 2018-07-01
 */
public interface JobMapper extends BaseMapper<Job> {

    /**
     * 根据条件获取招聘工作列表
     */
    List<Map<String, Object>> getJobList(@Param("page") Page<Job> page, @Param("condition") String condition, @Param("orderByField") String orderByField, @Param("isAsc") boolean asc);


}
